package com.nq.common;

public enum UserIntegralTypeEnum {
    /**
     * 大转盘抽奖消耗积分
     */
    LUCKY_DRAW_CONSUMPTION(1001, "Lucky draw Consumption", false),
    /**
     * 大转盘抽奖中奖积分奖励
     */
    LUCKY_DRAW_JACKPOT(1002, "Lucky draw Jackpot", true),

    /**
     * 普通签到
     */
    ORDINARY_SIGN_IN(1003, "Ordinary sign in", true),

    /**
     * 连续签到
     */
    CONTINUOUS_SIGN_IN(1004, "Continuous sign in", true),

    /**
     * 累加签到
     */
    ACCUMULATE_SIGN_IN(1005, "Accumulate sign in", true),

    /**
     * 首次充值
     */
    FIRST_RECHARGE(1006, "User first recharge", true),
    /**
     * 普通充值
     */
    NORMAL_RECHARGE(1007, "User General Recharge", true),
    /**
     * 购买股票奖励
     */
    BUY_STOCKS(1008, "Users buy stocks", true),
    /**
     * 邀请奖励
     */
    USER_INVITATION(1009, "Invite users", true);

    private int val;
    private String desc;
    //对积分造成的加减
    private boolean direct;


    UserIntegralTypeEnum(int val, String desc, boolean direct) {
        this.val = val;
        this.desc = desc;
        this.direct = direct;
    }

    public int getVal() {
        return val;
    }

    public void setVal(int val) {
        this.val = val;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public boolean isDirect() {
        return direct;
    }

    public void setDirect(boolean direct) {
        this.direct = direct;
    }
}
